import request from '@/utils/request'


/**
 * 用户信息
 * @returns 
 */
export function getUserInfo () {
  return request({
    url: '/realtime-site/detail/lines',
    method: 'get',
  })
}

/**
 * 车辆到站时间
 * @param {*} lineId 
 * @param {*} stopId 
 * @returns 
 */
export function getTimeStop (lineId,stopId ) {
  return request({
    url: '/realtime-site/detail/getTimeStop',
    method: 'get',
    params: { lineId : lineId,stopId:stopId }
  })
}
